package com.xc.content.feignclient;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;


@Slf4j
@Component
public class MediaServiceClientFallback implements MediaServiceClient {
    @Override
    public String upload(MultipartFile filedata, String objectName) throws IOException {
        log.debug("方式一：熔断处理，无法获取异常");
        return null;
    }
}